package java68_5;

public class JuiceMaker {
    String brand;
    int watt;
    //String fruit;
    public void show(){
        System.out.println("这个榨汁机的品牌是"+brand+",功率是"+watt+"瓦特");
    }
//    public String makeJuice(){
//        return fruit+"汁";
//    }

    public String makeJuice(String fruit){
        System.out.println("刀片开始转动,将水果"+fruit+"搅碎");
        return fruit+"汁";
    }
}
